﻿@{
    ViewBag.Title = "_LayoutForAdmin";
}
@*<h2>
    _LayoutForAdmin</h2>*@
<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")"
        type="text/javascript"></script>
</head>
<body>
    <div id="header">
        <h1>
            <a href="/">MUSIC STORE ASP.NET MVC</a></h1>
        <div id="logindisplay">
            @Html.Partial("_LogOnPartial")
        </div>
        <ul id="navlist">
            <li class="first"><a href="@Url.Content("~")" id="current">Home</a></li>
            @*<li><a href="@Url.Content("~/Admin/")">Adminka</a></li>*@
            <li><a href="@Url.Content("~/AuthorManager/")">Author</a></li>
            <li><a href="@Url.Content("~/GenreManager/")">Genre</a></li>
            <li><a href="@Url.Content("~/AlbumManager/")">Album</a></li>
            <li><a href="@Url.Content("~/SongManager/")">Song</a></li>
        </ul>
    </div>
    @{Html.RenderAction("GenreMenu", "Store");}
 <div id="tosearch"   > @using (Html.BeginForm("Index", "Search", FormMethod.Get))
    {
        <input id="Text1" type="text" name="tosearch" />
        <input id="Submit1" type="submit" value="Find" />
     
@*  @ViewData["searchFor"]
        <p class="button">@Html.ActionLink("Find", "Index", "Search", new { tosearch = @ViewData["searchFor"] }, null)*@
@* </p>*@
    }  </div>
    <div id="main">
        @RenderBody()
    </div>
    <div id="footer">
        built with @*<a href="http://asp.net/mvc">*@ ASP.NET MVC 3@*</a>*@
    </div>
</body>
</html>
